﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PolicyDocuments.aspx.cs" Inherits="KPI.PolicyDocuments"  validateRequest="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="/kindeditor-4.1.7/themes/default/default.css" rel="stylesheet" type="text/css" />
    <script src="/kindeditor-4.1.7/kindeditor-min.js" type="text/javascript"></script>
    <script src="/kindeditor-4.1.7/lang/zh_CN.js" type="text/javascript"></script>
    	<script type="text/javascript">
    	    var editor;
    	    KindEditor.ready(function (K) {
    	        editor = K.create('textarea[id="<%= PolicyDocumentContent.ClientID%>"]', {
    	            uploadJson: '/kindeditor-4.1.7/upload_json.ashx',
    	            items: ['justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'indent', 'outdent', '|', 'insertorderedlist', 'insertunorderedlist', '|', 'fontsize', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'lineheight','|', 'table', 'image', 'insertfile', 'fullscreen'],
									allowImageUpload: true,
									width: '900px',
									height: '380px'
    	            //allowFileManager: true
    	        });
    	    });
			</script>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<div class="pagetitle">
		<span>
			<asp:Literal ID="lTitle" runat="server" Mode="PassThrough" ViewStateMode="Disabled"></asp:Literal>
		</span>
	</div>
	<fieldset>
		<legend>通知公告</legend>
        <asp:HiddenField ID="pdAddtime" runat="server" />
		<div id="taskform">
			<table cellpadding="5" cellspacing="5">
				<tr>
					<td>
						<label>标题:</label>
					</td>
					<td>
						<asp:TextBox ID="PolicyDocumentTitle" runat="server" Width="280" ViewStateMode="Disabled" ValidationGroup="validationtask"></asp:TextBox>
						<asp:RequiredFieldValidator ID="rfvUserName" CssClass="failurenotification" runat="server" ControlToValidate="PolicyDocumentTitle"
							ErrorMessage="标题不能为空." ValidationGroup="validationtask" ToolTip="标题不能为空.">*</asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<label>内容:</label>
					</td>
					<td>
						<asp:TextBox ID="PolicyDocumentContent" runat="server" TextMode="MultiLine" Columns="50" Rows="5" ViewStateMode="Disabled"></asp:TextBox>
					</td>
				</tr>
			</table>
		</div>
	</fieldset>
	<div class="buttonscontainer">
		<asp:Button ID="btnSave" Text="保 存" runat="server" ValidationGroup="validationtask" OnClick="btnSave_Click" class="button" />
        <asp:Button ID="btnReturn" runat="server" CssClass="button" Text="返回" OnClick="btnReturn_Click" Visible="false" />
		<span class="msg">
			<asp:Literal ID="ltrMsg" runat="server" ViewStateMode="Disabled" ></asp:Literal>
		</span>
	</div>
</asp:Content>
